<%@ page language="java" import="java.util.*,com.dao.*,com.bean.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
PlateDao pldao=new PlateDao();
List<PlateBean> plbeans=pldao.selectAll();
request.setAttribute("plbeans",plbeans);
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>查看微抽奖参与人</title>
   

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=viewport content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<META name=format-detection content=telephone=no>
<META name=apple-mobile-web-app-capable content=yes>
<META name=apple-mobile-web-app-status-bar-style content=black>
<LINK rel=stylesheet type=text/css href="./css/phone.css">
<SCRIPT type=text/javascript src="./js/jquery-1.11.1.min.js"></SCRIPT>
<SCRIPT type=text/javascript src="./js/ht.js"></SCRIPT>
<STYLE type=text/css>.table-responsive TABLE {
	WIDTH: 600px; MAX-WIDTH: 600px
}
</STYLE>
<META name=GENERATOR content="MSHTML 9.00.8112.16672">



<SCRIPT type=text/javascript>
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</SCRIPT>

</head>
  
<body>
    

<FORM id=form1 method=post action=prize.aspx?id=100>

<DIV class=wrapper>
<DIV class=header_wrapper>
<DIV class=ht_img><A href="./default.jsp">
<img width="40" src=".${sessionScope.picpath}"></A> </DIV>
<DIV class="btn-group btn-group-option pull-right"><SPAN style="COLOR: #fff">${sessionScope.username}，欢迎您</SPAN>
<BUTTON class="btnn btn-default dropdown-toggle" data-toggle="dropdown">
<IMG src="./img/9.png"></BUTTON> 
<UL style="DISPLAY: none" class="dropdown-menu pull-right" role=menu>
  <LI><A href="./info.jsp">
  <IMG src="./img/q1.png">个人信息</A> 
  <LI><A href="./touxiang.jsp">
  <IMG src="./img/q2.png">头像修改</A> </LI>
  <LI class=divider>
  <LI><A id=lk href="javascript:__doPostBack('ctl00$lk','')">
  <IMG src="./img/q3.png">退出</A> </LI></UL></DIV>
<DIV class=clr></DIV></DIV>
<DIV class=page_wrapper>
<DIV class=pageheader>
<DIV class="pageicon pull-left">
<A href="./default.jsp">
<IMG src="./img/h-sy.png"></A> </DIV>
<DIV class=media-body>
<UL class=breadcrumb>
  <LI><A href="./default.jsp">
  <IMG src="./img/sy.png"></A> </LI>
  <LI><A href="./zhuanpanlist.jsp">微抽奖</A> 
  </LI>
  <LI>微抽奖参与人 </LI></UL></DIV>
<H4>微抽奖参与人</H4></DIV>
<DIV class=content>
<DIV class=table-responsive>
<TABLE class=datatable cellSpacing=0 cellspadding="0">
  <TBODY>
  <TR class=trbg>
    <TD>姓名</TD>
    <TD>手机</TD>
    <TD>抽奖结果</TD>
    <TD>参与时间</TD></TR>
  <c:forEach var="suser" items="${requestScope.plbeans }">
  <TR>
    <TD>${suser.username}</TD>
    <TD>${suser.phonenum}</TD>
    <TD>${suser.prize}</TD>
    <TD>${suser.ctime}</TD></TR>
  </c:forEach>
    </TBODY>
    </TABLE></DIV></DIV></DIV></DIV>
</FORM>

  </body>
</html>
